package com.panshi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.panshi.mapper")
@EnableFeignClients(basePackages="com.panshi.service") //扫描接口
@EnableCircuitBreaker // 开启服务熔断
public class QaProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(QaProviderApplication.class, args);
    }
}
